/*
* 包含所有action creator
* */

import {INCREMENT,DECREMENT} from "./action-type";
//增加
export const increment = (number) => ({type:INCREMENT,data:number})
//减少
export const decrement = (number) => ({type:DECREMENT,data:number})